package com.junci.mtest.model.service;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Url;


public interface HttpPostDefaultService {
    @FormUrlEncoded
    @POST
    Observable<ResponseBody> request(
            @Url String url
            , @FieldMap Map<String, String> map);



    @POST
    @Headers({"Content-Type:application/soap+xml;charset=UTF-8" })
    Observable<ResponseBody> requestStr(
            @Url String url
            ,@Body String parms );



}
